home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
OTHER_LA
/
0718.ZIP
/
EMACS.EDD
< prev
next >
Wrap
Text File
|
1987-03-17
|
5KB
|
188 lines
Name:Floop
Return arg2 copies of arg1, active
[*]
Name:Fextens-only
Returns only the extension of the filename in arg1.
[*]
Name:Fuse-default-ext
Appends the default extension to the filename if the filename doesn't
already have an extension.
[*]
Name:Fset-default-ext
Causes ##(Fdefault ext) to become the extension specified by FILENAME.
[*]
Name:Fnew-extens
Strips the extension off filename (arg1) and appends ext (arg2) to it.
[*]
Name:Fload-lib
Load a library into memory.
[*]
Name:Fsave-lib
Save a library and documentation file, if loaded.
[*]
Name:F:save-all-libs
Save all modified libraries.
[*]
Name:Ffor-all-buffers
#(Ffor-all-buffers,STRING) will execute the function named in
STRING for every user buffer. Equivalent to #(ba,2)STRING #(ba,3)STRING,
etc. for all the buffers that exist.
[*]
Name:Fbuffer-modified
#(Fbuffer-modified,YES,NO) executes
YES if the buffer has been modified, otherwise it executes NO.
[*]
Name:Fsave-buffer-if-modified
#(Fsave-buffer-if-modified) will save the buffer into
##(buffer-filename).tmp if the buffer has been modified.
[*]
Name:Fok-to-trash-buffer
#(Fok-to-trash-buffer,FUNCTIONS) asks the user if it is ok to trash the
buffer. If the user responds with 'y', then FUNCTIONS is executed.
[*]
Name:Ftrash-buffer
Gives the user a chance to save unsaved changes.
[*]
Name:F&setup
Executed immediately after the fundamental library is loaded.
[*]
Name:F:name-kbd-macro
Give a name to a previously defined keyboard macro
[*]
Name:F:bind-to-key
Bind a key to a function.
[*]
Name:F:unbind-key
Remove a key binding.
[*]
Name:Fmark
A character from @ to F which is the current mark in the mark ring.
[*]
Name:Fmark.head
Is this in use?
[*]
Name:Fset-new-mark
Set the next mark on the mark ring to the mark given in arg1.
[*]
Name:F:swap-point-and-mark
Set the mark to where the point is, and set the point to where the mark was.
[*]
Name:Fregion-chars
Process all the characters between point and mark by applying each to the
function given by arg1. This function has a range and domain of decimal
character numbers.
[*]
Name:Freadline
Read a line of text from the minibuffer.
On entry, #(value) is the default string.
arg1=prompt
arg2=string to execute if input is confirmed with return. The users input
is in #(value)
arg3=name of string containing the help
arg4=mode.
The mode variable lets keys be redefined in readline mode. For example,
isearch defines ^S and ^R specially, and extended-command defines space and
escape specially.
[*]
Name:Fyes-or-no
#(Fyes-or-no,PROMPT,YES,NO) will wait for a key and execute YES if
that key is 'y'. It will execute NO if the key is 'n'.
It keeps trying until a recognized key is hit.
[*]
Name:Fcase
If you look at the second ==, #(==,arg1,arg2,(...)), you might expect
that if arg1 == arg2 then (...) gets returned. However, Fcase is called
like this:
#(Fcase,arg1,
(new,(
stuff to do if arg1 = new.
)),
(forward,(
stuff to do if arg1 = forward.
)),
(backward,(
stuff to do if arg1 = backward.
)),
(
stuff to do if arg1 isn't any of the above
)
)
As you can see, arg2 has an unprotected comma in it, so that when the
second == gets executed, it looks like this:
#(==,arg1,new,(yes),(no))
[*]
Name:F-comment-column
The column that comments should be aligned to.
[*]
Name:F-fill-column
The column used by #(Fjustify-paragraph)
[*]
Name:Ferror
Report arg1 as an error only if it is non-null.
[*]
Name:Fmultiple
#(Fmultiple,STRING,LIST) will execute #(STRING,LIST ELEMENT) where LIST
consists of LIST ELEMENTS seperated by commas. Note that LIST can not be
scanned, otherwise the commas will be converted to argument seperators. Use
parentheses to protect LIST, or use a neutral function to return its results
unscanned.
[*]
Name:Fpad-to-column
#(Fpad-to-column,COL) will append enough tabs and spaces to the line to
put the point at the given column.
[*]
Name:Fisupper
#(Fisupper,CHAR,YES,NO) tests the ASCII value of char and executes YES
if the character is an upper case letter or NO if not.
[*]
Name:Ftoupper
#(Ftoupper,CHAR) maps ASCII values into ASCII values. Only lower case
letters are changed to upper case.
[*]
Name:Ftolower
#(Ftolower,CHAR) maps ASCII values into ASCII values. Only upper case
letters are changed to lower case.
[*]
Name:Fmax
#(Fmax,A,B) returns the numerically greater of A and B.
[*]